document.writeln("<script language=\"JavaScript\">");
document.writeln("var site;");
document.writeln("function twoDArray(name, site){");
document.writeln("this.name = name;");
document.writeln("this.site = site;");
document.writeln("}");
document.writeln("var siteDomainArray = new Array(70);");
document.writeln("siteDomainArray[0] = new twoDArray(\"planetplaystation2.com\", \"PPS2\")");
document.writeln("siteDomainArray[1] = new twoDArray(\"3dactionplanet.com\", \"3DAP\")");
document.writeln("siteDomainArray[2] = new twoDArray(\"3dap.com\", \"3DAP\")");
document.writeln("siteDomainArray[3] = new twoDArray(\"cheatingplanet.com\", \"CP\")");
document.writeln("siteDomainArray[4] = new twoDArray(\"classicgaming.com\", \"CG\")");
document.writeln("siteDomainArray[5] = new twoDArray(\"gamespy.com\", \"GSPY\")");
document.writeln("siteDomainArray[6] = new twoDArray(\"gamespy3d.com\", \"GS3D\")");
document.writeln("siteDomainArray[7] = new twoDArray(\"gamespyarcade.com\", \"GSPYARC\")");
document.writeln("siteDomainArray[8] = new twoDArray(\"gamespydaily.com\", \"GSPYDAILY\")");
document.writeln("siteDomainArray[9] = new twoDArray(\"planetdreamcast.com\", \"PDC\")");
document.writeln("siteDomainArray[10] = new twoDArray(\"planetps2.com\", \"PPS2\")");
document.writeln("siteDomainArray[11] = new twoDArray(\"planetxbox.com\", \"PXBOX\")");
document.writeln("siteDomainArray[12] = new twoDArray(\"rpgplanet.com\", \"RP\")");
document.writeln("siteDomainArray[13] = new twoDArray(\"sportplanet.com\", \"SPRTP\")");
document.writeln("siteDomainArray[14] = new twoDArray(\"strategyplanet.com\", \"SP\")");
document.writeln("siteDomainArray[15] = new twoDArray(\"planetbaldursgate.com\", \"BGC\")");
document.writeln("siteDomainArray[16] = new twoDArray(\"captured.com\", \"CAP\")");
document.writeln("siteDomainArray[17] = new twoDArray(\"planetcnc.com\", \"CNC\")");
document.writeln("siteDomainArray[18] = new twoDArray(\"counter-strike.net\", \"CS\")");
document.writeln("siteDomainArray[19] = new twoDArray(\"forumplanet.com\", \"FORUM\")");
document.writeln("siteDomainArray[20] = new twoDArray(\"fileplanet.com\", \"FP\")");
document.writeln("siteDomainArray[21] = new twoDArray(\"planethalflife.com\", \"PHL\")");
document.writeln("siteDomainArray[22] = new twoDArray(\"planetquake.com\", \"PQ\")");
document.writeln("siteDomainArray[23] = new twoDArray(\"gamelaunch.com\", \"GL\")");
document.writeln("siteDomainArray[24] = new twoDArray(\"gamespyder.com\", \"GS\")");
document.writeln("siteDomainArray[25] = new twoDArray(\"gamespynetwork.com\", \"GSNS\")");
document.writeln("siteDomainArray[26] = new twoDArray(\"hexenworld.com\", \"HW\")");
document.writeln("siteDomainArray[27] = new twoDArray(\"planetheretic.com\", \"HW\")");
document.writeln("siteDomainArray[28] = new twoDArray(\"lanparty.com\", \"LP\")");
document.writeln("siteDomainArray[29] = new twoDArray(\"planetannihilation.com\", \"PAN\")");
document.writeln("siteDomainArray[30] = new twoDArray(\"planetanachronox.com\", \"PANX\")");
document.writeln("siteDomainArray[31] = new twoDArray(\"planetavp.com\", \"PAVP\")");
document.writeln("siteDomainArray[32] = new twoDArray(\"planetblood.com\", \"PB\")");
document.writeln("siteDomainArray[33] = new twoDArray(\"planetblackandwhite.com\", \"PBAW\")");
document.writeln("siteDomainArray[34] = new twoDArray(\"polycount.com\", \"PC\")");
document.writeln("siteDomainArray[35] = new twoDArray(\"planetdiablo.com\", \"PDBLO\")");
document.writeln("siteDomainArray[36] = new twoDArray(\"planetdeerhunter.com\", \"PDH\")");
document.writeln("siteDomainArray[37] = new twoDArray(\"planetdiakatana.com\", \"PDK\")");
document.writeln("siteDomainArray[38] = new twoDArray(\"planetdungeonsiege.com\", \"PDS\")");
document.writeln("siteDomainArray[39] = new twoDArray(\"planetdeusex.com\", \"PDSX\")");
document.writeln("siteDomainArray[40] = new twoDArray(\"planetduke.com\", \"PDUKE\")");
document.writeln("siteDomainArray[41] = new twoDArray(\"planetfortress.com\", \"PF\")");
document.writeln("siteDomainArray[42] = new twoDArray(\"planethardware.com\", \"PH\")");
document.writeln("siteDomainArray[43] = new twoDArray(\"planetkingpin.com\", \"PKP\")");
document.writeln("siteDomainArray[44] = new twoDArray(\"planetmedalofhonor.com\", \"PMOH\")");
document.writeln("siteDomainArray[45] = new twoDArray(\"planetmedal.com\", \"PMOH\")");
document.writeln("siteDomainArray[46] = new twoDArray(\"planetnintendo.com\", \"PNIN\")");
document.writeln("siteDomainArray[47] = new twoDArray(\"planetrainbowsix.com\", \"PRB6\")");
document.writeln("siteDomainArray[48] = new twoDArray(\"planetshogo.com\", \"PS\")");
document.writeln("siteDomainArray[49] = new twoDArray(\"planetsoldieroffortune.com\", \"PSOF\")");
document.writeln("siteDomainArray[50] = new twoDArray(\"planetsoldier.com\", \"PSOF\")");
document.writeln("siteDomainArray[51] = new twoDArray(\"planettribes.com\", \"PSS\")");
document.writeln("siteDomainArray[52] = new twoDArray(\"planetribes.com\", \"PSS\")");
document.writeln("siteDomainArray[53] = new twoDArray(\"planettonyhawk.com\", \"PTH\")");
document.writeln("siteDomainArray[54] = new twoDArray(\"planetunreal.com\", \"PU\")");
document.writeln("siteDomainArray[55] = new twoDArray(\"planetvampire.com\", \"PVMP\")");
document.writeln("siteDomainArray[56] = new twoDArray(\"quake3world.com\", \"Q3W\")");
document.writeln("siteDomainArray[57] = new twoDArray(\"quakefinger.com\", \"QF\")");
document.writeln("siteDomainArray[58] = new twoDArray(\"planetneverwinter.com\", \"PNW\")");
document.writeln("siteDomainArray[59] = new twoDArray(\"planetneverwinternights.com\", \"PNW\")");
document.writeln("siteDomainArray[60] = new twoDArray(\"planetwarcraft.com\", \"PWC\")");
document.writeln("siteDomainArray[61] = new twoDArray(\"planeteq.com\", \"PE\")");
document.writeln("siteDomainArray[62] = new twoDArray(\"planeteverquest.com\", \"PE\")");
document.writeln("siteDomainArray[63] = new twoDArray(\"planetbattlefield.com\", \"PBF\")");
document.writeln("siteDomainArray[64] = new twoDArray(\"planetbattlefield1942.com\", \"PBF\")");
document.writeln("siteDomainArray[65] = new twoDArray(\"planetbf.com\", \"PBF\")");
document.writeln("siteDomainArray[66] = new twoDArray(\"planetageofmythology.com\", \"PAOE\")");
document.writeln("siteDomainArray[67] = new twoDArray(\"gamespyindustries.com\", \"3DAP\") //for testing");
document.writeln("siteDomainArray[68] = new twoDArray(\"adcontent.gamespy.com\", \"3DAP\") //for testing");
document.writeln("siteDomainArray[69] = new twoDArray(\"\", \"3DAP\") //for testing");
document.writeln("var domain = document.domain;");
document.writeln("domain = domain.toLowerCase();");
document.writeln("var domainPre = domain.indexOf(\"www.\");");
document.writeln("//var domainSuf = domain.indexOf(\".com\");");
document.writeln("if (domainPre != -1){");
document.writeln("domain = domain.substring(4,domain.length);");
document.writeln("}");
document.writeln("for (var i=0; i < siteDomainArray.length; i++){");
document.writeln("if (siteDomainArray[i].name == domain){");
document.writeln("var site = siteDomainArray[i].site;");
document.writeln("break;");
document.writeln("}");
document.writeln("}");
document.writeln("if (typeof site == \"undefined\"){");
document.writeln("site = \"GSPY\";");
document.writeln("}");
document.writeln("var cookieName = 'testCookie' + (new Date().getTime());");
document.writeln("document.cookie = cookieName + '=cookieValue';");
document.writeln("var cookiesEnabled = document.cookie.indexOf(cookieName) != -1;");
document.writeln("//BEGIN VARS");
document.writeln("var basePathAsp1 = \"\";");
document.writeln("var basePathAsp2 = \"\";");
document.writeln("var clickUrl = \"http://207.38.1.250:8080/adclick/CID=00006de9b354751a00000000/SITE=pmoh/AREA=hosted/PLATFORM=-1/POS=-1/GENRE=action/CHANNEL=-1/GAME=-1/TIER=3/C=31/D=0/E=0/F=0/G=0/H=0/I=-/J=/M=SE/N=/O=/SECTION=-1/PAGEID=631908198275050127/ACC_RANDOM=631908198275050127/AAMSZ=prestitial\";");
document.writeln("var autoLaunch = \"no\";  //MUST BE SET - YES or NO");
document.writeln("//If autoLaunch is NO");
document.writeln("var basePathToClientsCode = \"\";");
document.writeln("var pathToClientsCode = \"http://ad.doubleclick.net/adi/N2832.gamespy.com/B1144703.8;sz=550x480;ord=\";");
document.writeln("var popupName = \"ea_sims_online\";");
document.writeln("var resizable = \"0\";");
document.writeln("var scrollbars = \"0\";");
document.writeln("var width = \"550\";");
document.writeln("var height = \"480\";");
document.writeln("var topPos = \"0\";");
document.writeln("var leftPos = \"0\";");
document.writeln("var popupFocusOrBlur = \"focus\"; //blur or focus");
document.writeln("//If autoLaunch is YES");
document.writeln("var pathToSource = \"http://adcontent.gamespy.com/ads360/Ads360_popup_Iframe_toPullAd_Jul02.js?23427\"; //JS path to file that will launch popup NOT USED IF AUTOLAUNCH IS SET TO \"NO\"");
document.writeln("var overrideGlobalCookie = \"no\"; //MUST BE SET - YES or NO");
document.writeln("var indivName = \"n\"; //name of individual cookie");
document.writeln("var indivDurType = \"n\"; //duration type of individual cookie (months(m), days(d), hours(h), minutes(n))");
document.writeln("var indivDurLength = \"0\"; //time till cookie expires");
document.writeln("//PULL ANOTHER AD???");
document.writeln("var pullAnotherAd = \"no\"; //MUST BE SET - YES or NO");
document.writeln("var pullAnotherBase = \"\"; //typically not used ");
document.writeln("//out of order");
document.writeln("var area = \"Y001\"; //Unique AREA to prevent looping");
document.writeln("var size = \"PRESTITIAL\"; //type of ad to pull");
document.writeln("var pullAnotherSource = \"http://ads.gamespy.com/jserver/SITE=\"+site+\"/AREA=\"+area+\"/AAMSZ=\"+size+\"?23427\"; //source");
document.writeln("//INCLUDE A TRACKER???");
document.writeln("var includeTracker = \"yes\"; //MUST BE SET - YES or NO");
document.writeln("var trackerBase = \"\";  //typically not used ");
document.writeln("//out of order");
document.writeln("var trackerSite = \"WG\";");
document.writeln("var trackerArea = \"005\";");
document.writeln("var trackerTag = \"YES\";");
document.writeln("var trackerSource = \"http://ads.gamespy.com/jserver/SITE=\"+trackerSite+\"/AREA=\"+trackerArea+\"/POPUP=\"+trackerTag+\"/AAMSZ=TRACKER?23427\";");
document.writeln("//OUTPUT A TEXTFILE");
document.writeln("var outputTextFile = \"no\";");
document.writeln("</script>");
document.writeln("<script language=\"JavaScript\" src=\"http://adcontent.gamespy.com/globalCookie_writeContents.js\"></script>");
document.close();
